.word-arrangement {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  
    .arrangement-options {
      display: flex;
      gap: 15px;
      margin: 10px 0;
      flex-wrap: wrap;
      
      .control-button {
        padding: 12px 20px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        border: none;
        background-color: #f8f9fa;
        color: #333;
        font-weight: 500;
        
        &:hover {
          transform: translateY(-2px);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
          background-color: #e9ecef;
        }
        
        &.primary {
          background-color: #409eff;
          color: white;
          
          &:hover {
            background-color: #337ecc;
            box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
          }
        }
        
        &:disabled {
          opacity: 0.6;
          cursor: not-allowed;
          
          &:hover {
            transform: none;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
          }
        }
      }
    }
  
    .exercise-stats {
      margin: 30px 0;
      
      .stat-item {
        text-align: center;
        padding: 10px;
        border-radius: 10px;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        transition: box-shadow 0.3s ease;
        
        &:hover {
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .stat-label {
          font-size: 0.9rem;
          color: #666;
          margin-bottom: 8px;
        }
        
        .stat-value {
          font-size: 1.5rem;
          font-weight: 600;
          color: #212529;
        }
      }
    }
  
    .chinese-translation {
      text-align: center;
      padding: 5px;
      margin: 5px 0;
      border-radius: 10px;
      background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
      font-size: 1.3rem;
      color: #212529;
      font-weight: 500;
    }
  
    .arrangement-area {
      margin: 10px 0;
      
      h3 {
        text-align: center;
        margin-bottom: 10px;
        color: #212529;
        font-size: 1.4rem;
        font-weight: 600;
      }
    }
  
    .user-words-area {
      margin-bottom: 10px;
      padding: 5px;
      border: 2px dashed #42b983;
      border-radius: 10px;
      background-color: #fff;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .user-words-area.error-highlight {
      border: 2px dashed #f56c6c;
      animation: shake 0.5s ease-in-out;
    }

    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-5px); }
      75% { transform: translateX(5px); }
    }
  
    .original-words-area {
      padding: 5px;
      border: 2px dashed #ced4da;
      border-radius: 10px;
      background-color: #fff;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
  
    .word-container {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
  
    .word-item {
      padding: 10px 20px;
      background-color: #42b983;
      color: white;
      border-radius: 30px;
      cursor: move;
      user-select: none;
      transition: all 0.3s ease;
      font-weight: 500;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      
      &:hover {
        background-color: #359c6d;
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
      }
    }
  
    .word-item.correct {
      background-color: #67c23a;
      box-shadow: 0 2px 4px rgba(103, 194, 58, 0.3);
    }
  
    .empty-placeholder {
      color: #999;
      font-style: italic;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      min-height: 60px;
    }
  
    .completion-message {
      margin-top: 25px;
    }
  
    // 响应式设计
    @media (max-width: 768px) {
      padding: 15px;
      
      .arrangement-options {
        gap: 10px;
        margin: 20px 0;
        justify-content: space-around;
        
        .control-button {
          padding: 10px 5px;
          font-size: 0.9rem;
        }
      }
      
      .exercise-stats {
        display: none;
        .stat-item {
          padding: 5px 5px;
          
          .stat-value {
            font-size: 1.2rem;
          }
        }
      }
      
      .chinese-translation {
        padding: 15px;
        font-size: 1.1rem;
        margin: 20px 0;
      }
      
      .arrangement-area {
        margin: 30px 0;
        
        h3 {
          font-size: 1.2rem;
          margin-bottom: 20px;
        }
      }
      
      .user-words-area,
      .original-words-area {
        padding: 15px;
        min-height: 80px;
      }
      
      .word-container {
        gap: 8px;
      }
      
      .word-item {
        padding: 8px 16px;
        font-size: 0.9rem;
      }
    }
  }